﻿<UserControl xmlns:my="clr-namespace:System.Windows.Controls.Samples.SyntaxHighlighting"  x:Class="BFsharp.Samples.SL.MainPage"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="d"
    xmlns:sdk="http://schemas.microsoft.com/winfx/2006/xaml/presentation/sdk">
    <Grid Margin="25" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" MinWidth="830">
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="200" />
            <ColumnDefinition Width="*"/>
        </Grid.ColumnDefinitions>
        <Grid.RowDefinitions>
            <RowDefinition Height="*" />
            <RowDefinition Height="300"/>
        </Grid.RowDefinitions>

        <sdk:TreeView Name="treeView1" BorderThickness="0" Grid.RowSpan="2" SelectedItemChanged="treeView1_SelectedItemChanged" />
        
        <ScrollViewer Grid.Column="1" Margin="10" Height="Auto" VerticalScrollBarVisibility="Auto" BorderThickness="0">
            <StackPanel x:Name="Sample">
                
            </StackPanel>
        </ScrollViewer>
        <my:SyntaxHighlightingTextBox FontSize="10" Grid.Column="1" Margin="10" Grid.Row="1" x:Name="Source" Background="OldLace" Visibility="Collapsed" />

    </Grid>
</UserControl>
